package com.letoken.platform.repo.admin.req.mall;

import com.letoken.platform.pub.annotation.sms.SpecifyMatch;
import com.letoken.platform.pub.req.QueryReqBase;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

@Data
public class MallLogOffReq  {


    // 记录ID
    @NotNull(message = "审核记录ID不能为空")
    private Integer id;


    @NotNull(message = "审核结果不能为空")
    @ApiModelProperty(name = "state", value = "审核结果 1=通过 2驳回", required = true, example = "1")
    @SpecifyMatch(intValues = {1,2})
    private Integer state;


    @ApiModelProperty(name = "reason", value = "审核失败原因", required = true, example = "1")
    private String reason;
}
